package com.luych.toolbox.common.feign.param.automation.service;

import com.luych.toolbox.common.enums.AutoTaskTemplateNodeStdinType;
import com.luych.toolbox.common.feign.FeignParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("任务模板节点输入参数")
public class AutoTaskTemplateNodeStdinParam extends FeignParam {

    @ApiModelProperty("脚本参数ID")
    private String scriptArgId;
    @ApiModelProperty("脚本参数值来源")
    private AutoTaskTemplateNodeStdinType type;
    @ApiModelProperty("模板参数ID，当参数来源为“模板参数”时此字段有值")
    private String autoTaskTemplateArgId;
    @ApiModelProperty("模板参数值，当参数来源为“手工输入”时此字段有值")
    private String value;

    public String getScriptArgId() {
        return scriptArgId;
    }

    public void setScriptArgId(String scriptArgId) {
        this.scriptArgId = scriptArgId;
    }

    public AutoTaskTemplateNodeStdinType getType() {
        return type;
    }

    public void setType(AutoTaskTemplateNodeStdinType type) {
        this.type = type;
    }

    public String getAutoTaskTemplateArgId() {
        return autoTaskTemplateArgId;
    }

    public void setAutoTaskTemplateArgId(String autoTaskTemplateArgId) {
        this.autoTaskTemplateArgId = autoTaskTemplateArgId;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}